package com.wakaca.design.pattern.behavioral.mediator;

/**
 * Created by wakac on 2019/4/4
 */
public class Test {
    public static void main(String[] args) {
        User wakaca = new User("wakaca");
        User tom = new User("Tom");

        wakaca.sendMessage("Let's learn Design Pattern");
        tom.sendMessage("OK!");

    }
}
